<!DOCTYPE html>
<html>
<head>
    <title>Flask 示例</title>
</head>
<body>
    <nav>
        <a href="/">主页</a> |
        <a href="/auth/login">登录</a> |
        <a href="/auth/register">注册</a>
    </nav>
    <hr>
    {% with messages = get_flashed_messages() %}
        {% for msg in messages %}
            <p style="color:red;">{{ msg }}</p>
        {% endfor %}
    {% endwith %}
    {% block content %}{% endblock %}
</body>
</html>
